package com.one.entity;

public class Server {
    //服务的编号
    private int server_id;
    //隶属编号
    private int hk_id;
    //服务的一级名称
    private String server_type;
    //服务类型
    private String server_name;
    //服务的单价
    private double server_price;

    //空的构造方法
    public Server(){}

    //一般的构造方法
    public Server(int server_id, int hk_id, String server_type, String server_name, double server_price) {
        this.server_id = server_id;
        this.hk_id = hk_id;
        this.server_type = server_type;
        this.server_name = server_name;
        this.server_price = server_price;
    }

    //信息的封装
    public int getServer_id() {
        return server_id;
    }

    public void setServer_id(int server_id) {
        this.server_id = server_id;
    }

    public int getHk_id() {
        return hk_id;
    }

    public void setHk_id(int hk_id) {
        this.hk_id = hk_id;
    }

    public String getServer_type() {
        return server_type;
    }

    public void setServer_type(String server_type) {
        this.server_type = server_type;
    }

    public String getServer_name() {
        return server_name;
    }

    public void setServer_name(String server_name) {
        this.server_name = server_name;
    }

    public double getServer_price() {
        return server_price;
    }

    public void setServer_price(double server_price) {
        this.server_price = server_price;
    }
}
